package com.meizhuang.controller;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class OrderPayAction {

    /**
     * {
     *     "id": "EV-2018022511223320873",
     *     "create_time": "2015-05-20T13:29:35+08:00",
     *     "resource_type": "encrypt-resource",
     *     "event_type": "TRANSACTION.SUCCESS",
     *     "summary": "支付成功",
     *     "resource": {
     *         "original_type": "transaction",
     *         "algorithm": "AEAD_AES_256_GCM",
     *         "ciphertext": "",
     *         "associated_data": "",
     *         "nonce": ""
     *     }
     * }
     */
    @JsonProperty("id")
    private String id;

    @JsonProperty("create_time")
    private String createTime;

    @JsonProperty("resource_type")
    private String resourceType;

    @JsonProperty("event_type")
    private String eventType;

    @JsonProperty("summary")
    private String summary;

    @JsonProperty("resource")
    private OrderResource orderResource;
}
